import Layout from '@/layout/Index.vue';

export default {
    path: '/system',
    name: 'system',
    component: Layout,
    meta: {
        title: '系统管理',
        icon: 'el-icon-menu',
        roles: ['system:manage'],
        // parentId: 0
    },
    children: [
        {
            path: '/sysMsgList',
            component: () => import('@/views/msg/RetailMsgList.vue'),
            name: 'sysMsgList',
            meta: {
                title: '系统消息',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/bangzhuguanli',
            component: () => import('@/views/help/RetailHelpList.vue'),
            name: 'bangzhuguanli',
            meta: {
                title: '帮助管理',
                icon: '#el-icon-grid',
            }
        },

        {
            path: '/txxieyi',
            component: () => import('@/views/help/RetailHelpContent.vue'),
            name: 'txxieyi',
            meta: {
                title: '提现协议',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/yinsizhengce',
            component: () => import('@/views/help/RetailHelpContent.vue'),
            name: 'yinsizhengce',
            meta: {
                title: '隐私政策',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/fuwuxieyi',
            component: () => import('@/views/help/RetailHelpContent.vue'),
            name: 'fuwuxieyi',
            meta: {
                title: '服务协议',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/tixianshuoming',
            component: () => import('@/views/help/RetailHelpContent.vue'),
            name: 'tixianshuoming',
            meta: {
                title: '提现说明',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/fenchengshuoming',
            component: () => import('@/views/help/RetailHelpContent.vue'),
            name: 'fenchengshuoming',
            meta: {
                title: '分成说明',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/dept',
            component: () => import('@/views/system/dept/DeptList.vue'),
            name: 'dept',
            meta: {
                title: '机构管理',
                icon: '#el-icon-document',
                roles: ['sys:dept']
            }
        },
        {
            path: '/admin',
            component: () => import('@/views/system/admin/AdminList.vue'),
            name: 'admin',
            meta: {
                title: '管理员管理',
                icon: '#el-icon-document',
                roles: ['sys:user']
            }
        },
        {
            path: '/role',
            component: () => import('@/views/system/role/RoleList.vue'),
            name: 'role',
            meta: {
                title: '角色管理',
                icon: '#el-icon-document',
                roles: ['sys:role']
            }
        },
        {
            path: '/permit',
            component: () => import('@/views/system/permit/PermitList.vue'),
            name: 'permit',
            meta: {
                title: '权限管理',
                icon: '#el-icon-lock',
                roles: ['sys:permit']
            }
        },
        {
            path: '/menu',
            component: () => import('@/views/system/menu/MenuList.vue'),
            name: 'menu',
            meta: {
                title: '菜单管理',
                icon: '#el-icon-grid',
                roles: ['sys:menu']
            }
        },
        {
            path: '/file',
            component: () => import('@/views/system/file/FileList.vue'),
            name: 'file',
            meta: {
                title: '文件管理',
                icon: '#el-icon-grid',
                roles: ['sys:file']
            }
        },
        {
            path: '/dic',
            component: () => import('@/views/system/dic/Dic.vue'),
            name: 'dic',
            meta: {
                title: '字典设置',
                icon: '#el-icon-grid',
                roles: ['sys:dic']
            }
        }
    ]
}
